FROM registry-vpc.cn-beijing.aliyuncs.com/rinlink/java-app-with-ffmpeg
ENV JVM_OPTS="-Xmx1g -Xms256M" \ 
 JAVA_ARGS="" \
 JAVA_APP_PATHNAME="/app.jar"
ADD ./app.jar /app.jar
ENTRYPOINT [""]
CMD sh -c "java $JVM_OPTS -jar ${JAVA_APP_PATHNAME} $JAVA_ARGS"